<?
if (isset($_POST['clientID'])) {
	$client_id = $HTTP_POST_VARS['clientID'];
	createSessionClientId($client_id);
	print_r($_POST);
}
elseif (isset($_GET['clientID'])) {
	$client_id = $HTTP_GET_VARS['clientID'];
	createSessionClientId($client_id);
}
elseif (isset($_SESSION['session_clientId'])) {
	$client_id = $_SESSION['session_clientId'];
}

?>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
        <head>
                <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
                <style type="text/css">
<!--


h2 {
        font: bold 14px Verdana, Arial, Helvetica, sans-serif;
        color: #000;
        margin: 0px;
        padding: 0px 0px 0px 15px;
}

img {
border: none;
}

/*- Menu Tabs 10--------------------------- */

    #tabs10 {
      float:left;
      width:100%;
      font-size:93%;
          border-bottom:1px solid #2763A5;
      line-height:normal;
      }
    #tabs10 ul {
          margin:0;
          padding:10px 10px 0 50px;
          list-style:none;
      }
    #tabs10 li {
      display:inline;
      margin:0;
      padding:0;
      }
    #tabs10 a {
      float:left;
      background:url("images/tableft10.gif") no-repeat left top;
      margin:0;
      padding:0 0 0 4px;
      text-decoration:none;
      }
    #tabs10 a span {
      float:left;
      display:block;
      background:url("images/tabright10.gif") no-repeat right top;
      padding:5px 15px 4px 6px;
      color:#FFF;
      }
    /* Commented Backslash Hack hides rule from IE5-Mac \*/
    #tabs10 a span {float:none;}
    /* End IE5-Mac hack */
    #tabs9 a:hover span {
      color:#FFF;
      }
    #tabs10 a:hover {
      background-position:0% -42px;
      }
    #tabs10 a:hover span {
      background-position:100% -42px;
      }

      #tabs10 #current a {
              background-position:0% -42px;
      }
      #tabs10 #current a span {
              background-position:100% -42px;
      }
-->
</style>
        </head>

        <body>

                <div id="tabs10">
                <ul>
                                <!-- CSS Tabs -->
<? echo "<li><a href=\"?page=visit_details&client_id=$client_id\"><span>Page 1</span></a></li>"; ?>
<? echo "<li><a href=\"?page=view_page_2&client_id=$client_id\"><span>Page 2</span></a></li>"; ?>
                </ul>
                </div>
